package visao;
import java.awt.Label;

import javax.swing.JDialog;
import java.awt.GridLayout;
import javax.swing.JLabel;

@SuppressWarnings("serial")
public class TelaSobre extends JDialog {
	
	public TelaSobre(){
		this.setTitle("Sobre!");
		this.setSize(300, 140);
		this.setLocationRelativeTo(null);
		this.setResizable(false);
		this.setModal(true);
		this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
		getContentPane().setLayout(new GridLayout(0, 1, 0, 0));
		getContentPane().add(new Label("   Programa desenvolvido pela turma de java 2012.2!"));
		getContentPane().add(new Label("   Equipe: Rodrigo, Ussumane e Jonnathan."));
		getContentPane().add( new JLabel("    Professora: Lucimara"));
		
	}

}
